package com.fxm.vo.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author gaoyiguan
 * @version V1.0.0
 * @description: 用户管理参数
 * @date 2021/02/07 10:07
 * @copyright Copyright © 2019  智能城市icity.jd.com ALL Right Reserved
 */
@Data
@ApiModel("用户管理入参")
@AllArgsConstructor
@NoArgsConstructor
public class UserParam extends PageParam implements Serializable {
    @ApiModelProperty("昵称")
    private String username;
    @ApiModelProperty("国家")
    private String country;
    @ApiModelProperty("省份")
    private String province;
    @ApiModelProperty("城市")
    private String city;
    @ApiModelProperty("性别")
    private Integer sex;

    public UserParam (Integer page, Integer limit) {
        this.page = page;
        this.limit = limit;
    }
}
